﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;

namespace client.app
{
    public class Color2
    {
        public static byte[] ToBytes(Color color)
        {
            return new byte[] { color.A, color.R, color.G, color.B };
        }
        public static Color FromBytes(byte[] bytes)
        {
            if (bytes.Length != 4)
            {
                return Red();
            }
            return Color.FromArgb(bytes[0], bytes[1], bytes[2], bytes[3]);
        }
        public static string ToHtml(Color color)
        {
            return ("#" + color.R.ToString("X2", null) + color.G.ToString("X2", null) + color.B.ToString("X2", null));
        }
        public static Color FromHtml(string color)
        {
            if (color.Length != 7)
            {
                return Colors.Black;
            }
            string cl = color.Remove(0, 1);
            byte r = (byte)Convert.ToInt32(cl.Substring(0, 2), 16);
            byte g = (byte)Convert.ToInt32(cl.Substring(2, 2), 16);
            byte b = (byte)Convert.ToInt32(cl.Substring(4, 2), 16);
            return Color.FromArgb(255, r, g, b);
        }
        public static Color FromColor(byte a, Color color)
        {
            return Color.FromArgb(a, color.R, color.G, color.B);
        }

        public static Color Transparent()
        {
            return Color.FromArgb((byte)((double)255 / 100 * 0), (byte)255, (byte)255, (byte)255);
        }

        public static Color AliceBlue()
        {
            return AliceBlue(100);
        }
        public static Color AliceBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)240, (byte)248, (byte)255);
        }

        public static Color AntiqueWhite()
        {
            return AntiqueWhite(100);
        }
        public static Color AntiqueWhite(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)250, (byte)235, (byte)215);
        }

        public static Color Aqua()
        {
            return Aqua(100);
        }
        public static Color Aqua(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)255, (byte)255);
        }

        public static Color Aquamarine()
        {
            return Aquamarine(100);
        }
        public static Color Aquamarine(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)127, (byte)255, (byte)212);
        }

        public static Color Azure()
        {
            return Azure(100);
        }
        public static Color Azure(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)240, (byte)255, (byte)255);
        }

        public static Color Beige()
        {
            return Beige(100);
        }
        public static Color Beige(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)245, (byte)245, (byte)220);
        }

        public static Color Bisque()
        {
            return Bisque(100);
        }
        public static Color Bisque(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)228, (byte)196);
        }

        public static Color Black()
        {
            return Black(100);
        }
        public static Color Black(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)0, (byte)0);
        }

        public static Color BlanchedAlmond()
        {
            return BlanchedAlmond(100);
        }
        public static Color BlanchedAlmond(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)235, (byte)205);
        }

        public static Color Blue()
        {
            return Blue(100);
        }
        public static Color Blue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)0, (byte)255);
        }

        public static Color BlueViolet()
        {
            return BlueViolet(100);
        }
        public static Color BlueViolet(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)138, (byte)43, (byte)226);
        }

        public static Color Brown()
        {
            return Brown(100);
        }
        public static Color Brown(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)165, (byte)42, (byte)42);
        }

        public static Color BurlyWood()
        {
            return BurlyWood(100);
        }
        public static Color BurlyWood(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)222, (byte)184, (byte)135);
        }

        public static Color CadetBlue()
        {
            return CadetBlue(100);
        }
        public static Color CadetBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)95, (byte)158, (byte)160);
        }

        public static Color Chartreuse()
        {
            return Chartreuse(100);
        }
        public static Color Chartreuse(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)127, (byte)255, (byte)0);
        }

        public static Color Chocolate()
        {
            return Chocolate(100);
        }
        public static Color Chocolate(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)210, (byte)105, (byte)30);
        }

        public static Color Coral()
        {
            return Coral(100);
        }
        public static Color Coral(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)127, (byte)80);
        }

        public static Color CornflowerBlue()
        {
            return CornflowerBlue(100);
        }
        public static Color CornflowerBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)100, (byte)149, (byte)237);
        }

        public static Color Cornsilk()
        {
            return Cornsilk(100);
        }
        public static Color Cornsilk(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)248, (byte)220);
        }

        public static Color Crimson()
        {
            return Crimson(100);
        }
        public static Color Crimson(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)220, (byte)20, (byte)60);
        }

        public static Color Cyan()
        {
            return Cyan(100);
        }
        public static Color Cyan(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)255, (byte)255);
        }

        public static Color DarkBlue()
        {
            return DarkBlue(100);
        }
        public static Color DarkBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)0, (byte)139);
        }

        public static Color DarkCyan()
        {
            return DarkCyan(100);
        }
        public static Color DarkCyan(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)139, (byte)139);
        }

        public static Color DarkGoldenrod()
        {
            return DarkGoldenrod(100);
        }
        public static Color DarkGoldenrod(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)184, (byte)134, (byte)11);
        }

        public static Color DarkGray()
        {
            return DarkGray(100);
        }
        public static Color DarkGray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)169, (byte)169, (byte)169);
        }

        public static Color DarkGreen()
        {
            return DarkGreen(100);
        }
        public static Color DarkGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)100, (byte)0);
        }

        public static Color DarkKhaki()
        {
            return DarkKhaki(100);
        }
        public static Color DarkKhaki(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)189, (byte)183, (byte)107);
        }

        public static Color DarkMagenta()
        {
            return DarkMagenta(100);
        }
        public static Color DarkMagenta(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)139, (byte)0, (byte)139);
        }

        public static Color DarkOliveGreen()
        {
            return DarkOliveGreen(100);
        }
        public static Color DarkOliveGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)85, (byte)107, (byte)47);
        }

        public static Color DarkOrange()
        {
            return DarkOrange(100);
        }
        public static Color DarkOrange(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)140, (byte)0);
        }

        public static Color DarkOrchid()
        {
            return DarkOrchid(100);
        }
        public static Color DarkOrchid(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)153, (byte)50, (byte)204);
        }

        public static Color DarkRed()
        {
            return DarkRed(100);
        }
        public static Color DarkRed(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)139, (byte)0, (byte)0);
        }

        public static Color DarkSalmon()
        {
            return DarkSalmon(100);
        }
        public static Color DarkSalmon(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)233, (byte)150, (byte)122);
        }

        public static Color DarkSeaGreen()
        {
            return DarkSeaGreen(100);
        }
        public static Color DarkSeaGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)143, (byte)188, (byte)139);
        }

        public static Color DarkSlateBlue()
        {
            return DarkSlateBlue(100);
        }
        public static Color DarkSlateBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)72, (byte)61, (byte)139);
        }

        public static Color DarkSlateGray()
        {
            return DarkSlateGray(100);
        }
        public static Color DarkSlateGray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)47, (byte)79, (byte)79);
        }

        public static Color DarkTurquoise()
        {
            return DarkTurquoise(100);
        }
        public static Color DarkTurquoise(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)206, (byte)209);
        }

        public static Color DarkViolet()
        {
            return DarkViolet(100);
        }
        public static Color DarkViolet(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)148, (byte)0, (byte)211);
        }

        public static Color DeepPink()
        {
            return DeepPink(100);
        }
        public static Color DeepPink(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)20, (byte)147);
        }

        public static Color DeepSkyBlue()
        {
            return DeepSkyBlue(100);
        }
        public static Color DeepSkyBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)191, (byte)255);
        }

        public static Color DimGray()
        {
            return DimGray(100);
        }
        public static Color DimGray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)105, (byte)105, (byte)105);
        }

        public static Color DodgerBlue()
        {
            return DodgerBlue(100);
        }
        public static Color DodgerBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)30, (byte)144, (byte)255);
        }

        public static Color Firebrick()
        {
            return Firebrick(100);
        }
        public static Color Firebrick(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)178, (byte)34, (byte)34);
        }

        public static Color FloralWhite()
        {
            return FloralWhite(100);
        }
        public static Color FloralWhite(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)250, (byte)240);
        }

        public static Color ForestGreen()
        {
            return ForestGreen(100);
        }
        public static Color ForestGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)34, (byte)139, (byte)34);
        }

        public static Color Fuchsia()
        {
            return Fuchsia(100);
        }
        public static Color Fuchsia(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)0, (byte)255);
        }

        public static Color Gainsboro()
        {
            return Gainsboro(100);
        }
        public static Color Gainsboro(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)220, (byte)220, (byte)220);
        }

        public static Color GhostWhite()
        {
            return GhostWhite(100);
        }
        public static Color GhostWhite(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)248, (byte)248, (byte)255);
        }

        public static Color Gold()
        {
            return Gold(100);
        }
        public static Color Gold(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)215, (byte)0);
        }

        public static Color Goldenrod()
        {
            return Goldenrod(100);
        }
        public static Color Goldenrod(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)218, (byte)165, (byte)32);
        }

        public static Color Gray()
        {
            return Gray(100);
        }
        public static Color Gray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)128, (byte)128, (byte)128);
        }

        public static Color Green()
        {
            return Green(100);
        }
        public static Color Green(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)128, (byte)0);
        }

        public static Color GreenYellow()
        {
            return GreenYellow(100);
        }
        public static Color GreenYellow(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)173, (byte)255, (byte)47);
        }

        public static Color Honeydew()
        {
            return Honeydew(100);
        }
        public static Color Honeydew(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)240, (byte)255, (byte)240);
        }

        public static Color HotPink()
        {
            return HotPink(100);
        }
        public static Color HotPink(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)105, (byte)180);
        }

        public static Color IndianRed()
        {
            return IndianRed(100);
        }
        public static Color IndianRed(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)205, (byte)92, (byte)92);
        }

        public static Color Indigo()
        {
            return Indigo(100);
        }
        public static Color Indigo(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)75, (byte)0, (byte)130);
        }

        public static Color Ivory()
        {
            return Ivory(100);
        }
        public static Color Ivory(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)255, (byte)240);
        }

        public static Color Khaki()
        {
            return Khaki(100);
        }
        public static Color Khaki(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)240, (byte)230, (byte)140);
        }

        public static Color Lavender()
        {
            return Lavender(100);
        }
        public static Color Lavender(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)230, (byte)230, (byte)250);
        }

        public static Color LavenderBlush()
        {
            return LavenderBlush(100);
        }
        public static Color LavenderBlush(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)240, (byte)245);
        }

        public static Color LawnGreen()
        {
            return LawnGreen(100);
        }
        public static Color LawnGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)124, (byte)252, (byte)0);
        }

        public static Color LemonChiffon()
        {
            return LemonChiffon(100);
        }
        public static Color LemonChiffon(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)250, (byte)205);
        }

        public static Color LightBlue()
        {
            return LightBlue(100);
        }
        public static Color LightBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)173, (byte)216, (byte)230);
        }

        public static Color LightCoral()
        {
            return LightCoral(100);
        }
        public static Color LightCoral(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)240, (byte)128, (byte)128);
        }

        public static Color LightCyan()
        {
            return LightCyan(100);
        }
        public static Color LightCyan(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)224, (byte)255, (byte)255);
        }

        public static Color LightGoldenrodYellow()
        {
            return LightGoldenrodYellow(100);
        }
        public static Color LightGoldenrodYellow(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)250, (byte)250, (byte)210);
        }

        public static Color LightGreen()
        {
            return LightGreen(100);
        }
        public static Color LightGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)144, (byte)238, (byte)144);
        }

        public static Color LightGray()
        {
            return LightGray(100);
        }
        public static Color LightGray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)211, (byte)211, (byte)211);
        }

        public static Color LightPink()
        {
            return LightPink(100);
        }
        public static Color LightPink(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)182, (byte)193);
        }

        public static Color LightSalmon()
        {
            return LightSalmon(100);
        }
        public static Color LightSalmon(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)160, (byte)122);
        }

        public static Color LightSeaGreen()
        {
            return LightSeaGreen(100);
        }
        public static Color LightSeaGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)32, (byte)178, (byte)170);
        }

        public static Color LightSkyBlue()
        {
            return LightSkyBlue(100);
        }
        public static Color LightSkyBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)135, (byte)206, (byte)250);
        }

        public static Color LightSlateGray()
        {
            return LightSlateGray(100);
        }
        public static Color LightSlateGray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)119, (byte)136, (byte)153);
        }

        public static Color LightSteelBlue()
        {
            return LightSteelBlue(100);
        }
        public static Color LightSteelBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)176, (byte)196, (byte)222);
        }

        public static Color LightYellow()
        {
            return LightYellow(100);
        }
        public static Color LightYellow(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)255, (byte)224);
        }

        public static Color Lime()
        {
            return Lime(100);
        }
        public static Color Lime(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)255, (byte)0);
        }

        public static Color LimeGreen()
        {
            return LimeGreen(100);
        }
        public static Color LimeGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)50, (byte)205, (byte)50);
        }

        public static Color Linen()
        {
            return Linen(100);
        }
        public static Color Linen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)250, (byte)240, (byte)230);
        }

        public static Color Magenta()
        {
            return Magenta(100);
        }
        public static Color Magenta(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)0, (byte)255);
        }

        public static Color Maroon()
        {
            return Maroon(100);
        }
        public static Color Maroon(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)128, (byte)0, (byte)0);
        }

        public static Color MediumAquamarine()
        {
            return MediumAquamarine(100);
        }
        public static Color MediumAquamarine(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)102, (byte)205, (byte)170);
        }

        public static Color MediumBlue()
        {
            return MediumBlue(100);
        }
        public static Color MediumBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)0, (byte)205);
        }

        public static Color MediumOrchid()
        {
            return MediumOrchid(100);
        }
        public static Color MediumOrchid(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)186, (byte)85, (byte)211);
        }

        public static Color MediumPurple()
        {
            return MediumPurple(100);
        }
        public static Color MediumPurple(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)147, (byte)112, (byte)219);
        }

        public static Color MediumSeaGreen()
        {
            return MediumSeaGreen(100);
        }
        public static Color MediumSeaGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)60, (byte)179, (byte)113);
        }

        public static Color MediumSlateBlue()
        {
            return MediumSlateBlue(100);
        }
        public static Color MediumSlateBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)123, (byte)104, (byte)238);
        }

        public static Color MediumSpringGreen()
        {
            return MediumSpringGreen(100);
        }
        public static Color MediumSpringGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)250, (byte)154);
        }

        public static Color MediumTurquoise()
        {
            return MediumTurquoise(100);
        }
        public static Color MediumTurquoise(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)72, (byte)209, (byte)204);
        }

        public static Color MediumVioletRed()
        {
            return MediumVioletRed(100);
        }
        public static Color MediumVioletRed(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)199, (byte)21, (byte)133);
        }

        public static Color MidnightBlue()
        {
            return MidnightBlue(100);
        }
        public static Color MidnightBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)25, (byte)25, (byte)112);
        }

        public static Color MintCream()
        {
            return MintCream(100);
        }
        public static Color MintCream(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)245, (byte)255, (byte)250);
        }

        public static Color MistyRose()
        {
            return MistyRose(100);
        }
        public static Color MistyRose(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)228, (byte)225);
        }

        public static Color Moccasin()
        {
            return Moccasin(100);
        }
        public static Color Moccasin(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)228, (byte)181);
        }

        public static Color NavajoWhite()
        {
            return NavajoWhite(100);
        }
        public static Color NavajoWhite(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)222, (byte)173);
        }

        public static Color Navy()
        {
            return Navy(100);
        }
        public static Color Navy(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)0, (byte)128);
        }

        public static Color OldLace()
        {
            return OldLace(100);
        }
        public static Color OldLace(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)253, (byte)245, (byte)230);
        }

        public static Color Olive()
        {
            return Olive(100);
        }
        public static Color Olive(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)128, (byte)128, (byte)0);
        }

        public static Color OliveDrab()
        {
            return OliveDrab(100);
        }
        public static Color OliveDrab(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)107, (byte)142, (byte)35);
        }

        public static Color Orange()
        {
            return Orange(100);
        }
        public static Color Orange(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)165, (byte)0);
        }

        public static Color OrangeRed()
        {
            return OrangeRed(100);
        }
        public static Color OrangeRed(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)69, (byte)0);
        }

        public static Color Orchid()
        {
            return Orchid(100);
        }
        public static Color Orchid(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)218, (byte)112, (byte)214);
        }

        public static Color PaleGoldenrod()
        {
            return PaleGoldenrod(100);
        }
        public static Color PaleGoldenrod(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)238, (byte)232, (byte)170);
        }

        public static Color PaleGreen()
        {
            return PaleGreen(100);
        }
        public static Color PaleGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)152, (byte)251, (byte)152);
        }

        public static Color PaleTurquoise()
        {
            return PaleTurquoise(100);
        }
        public static Color PaleTurquoise(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)175, (byte)238, (byte)238);
        }

        public static Color PaleVioletRed()
        {
            return PaleVioletRed(100);
        }
        public static Color PaleVioletRed(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)219, (byte)112, (byte)147);
        }

        public static Color PapayaWhip()
        {
            return PapayaWhip(100);
        }
        public static Color PapayaWhip(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)239, (byte)213);
        }

        public static Color PeachPuff()
        {
            return PeachPuff(100);
        }
        public static Color PeachPuff(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)218, (byte)185);
        }

        public static Color Peru()
        {
            return Peru(100);
        }
        public static Color Peru(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)205, (byte)133, (byte)63);
        }

        public static Color Pink()
        {
            return Pink(100);
        }
        public static Color Pink(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)192, (byte)203);
        }

        public static Color Plum()
        {
            return Plum(100);
        }
        public static Color Plum(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)221, (byte)160, (byte)221);
        }

        public static Color PowderBlue()
        {
            return PowderBlue(100);
        }
        public static Color PowderBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)176, (byte)224, (byte)230);
        }

        public static Color Purple()
        {
            return Purple(100);
        }
        public static Color Purple(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)128, (byte)0, (byte)128);
        }

        public static Color Red()
        {
            return Red(100);
        }
        public static Color Red(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)0, (byte)0);
        }

        public static Color RosyBrown()
        {
            return RosyBrown(100);
        }
        public static Color RosyBrown(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)188, (byte)143, (byte)143);
        }

        public static Color RoyalBlue()
        {
            return RoyalBlue(100);
        }
        public static Color RoyalBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)65, (byte)105, (byte)225);
        }

        public static Color SaddleBrown()
        {
            return SaddleBrown(100);
        }
        public static Color SaddleBrown(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)139, (byte)69, (byte)19);
        }

        public static Color Salmon()
        {
            return Salmon(100);
        }
        public static Color Salmon(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)250, (byte)128, (byte)114);
        }

        public static Color SandyBrown()
        {
            return SandyBrown(100);
        }
        public static Color SandyBrown(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)244, (byte)164, (byte)96);
        }

        public static Color SeaGreen()
        {
            return SeaGreen(100);
        }
        public static Color SeaGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)46, (byte)139, (byte)87);
        }

        public static Color SeaShell()
        {
            return SeaShell(100);
        }
        public static Color SeaShell(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)245, (byte)238);
        }

        public static Color Sienna()
        {
            return Sienna(100);
        }
        public static Color Sienna(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)160, (byte)82, (byte)45);
        }

        public static Color Silver()
        {
            return Silver(100);
        }
        public static Color Silver(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)192, (byte)192, (byte)192);
        }

        public static Color SkyBlue()
        {
            return SkyBlue(100);
        }
        public static Color SkyBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)135, (byte)206, (byte)235);
        }

        public static Color SlateBlue()
        {
            return SlateBlue(100);
        }
        public static Color SlateBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)106, (byte)90, (byte)205);
        }

        public static Color SlateGray()
        {
            return SlateGray(100);
        }
        public static Color SlateGray(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)112, (byte)128, (byte)144);
        }

        public static Color Snow()
        {
            return Snow(100);
        }
        public static Color Snow(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)250, (byte)250);
        }

        public static Color SpringGreen()
        {
            return SpringGreen(100);
        }
        public static Color SpringGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)255, (byte)127);
        }

        public static Color SteelBlue()
        {
            return SteelBlue(100);
        }
        public static Color SteelBlue(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)70, (byte)130, (byte)180);
        }

        public static Color Tan()
        {
            return Tan(100);
        }
        public static Color Tan(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)210, (byte)180, (byte)140);
        }

        public static Color Teal()
        {
            return Teal(100);
        }
        public static Color Teal(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)0, (byte)128, (byte)128);
        }

        public static Color Thistle()
        {
            return Thistle(100);
        }
        public static Color Thistle(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)216, (byte)191, (byte)216);
        }

        public static Color Tomato()
        {
            return Tomato(100);
        }
        public static Color Tomato(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)99, (byte)71);
        }

        public static Color Turquoise()
        {
            return Turquoise(100);
        }
        public static Color Turquoise(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)64, (byte)224, (byte)208);
        }

        public static Color Violet()
        {
            return Violet(100);
        }
        public static Color Violet(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)238, (byte)130, (byte)238);
        }

        public static Color Wheat()
        {
            return Wheat(100);
        }
        public static Color Wheat(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)245, (byte)222, (byte)179);
        }

        public static Color White()
        {
            return White(100);
        }
        public static Color White(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)255, (byte)255);
        }

        public static Color WhiteSmoke()
        {
            return WhiteSmoke(100);
        }
        public static Color WhiteSmoke(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)245, (byte)245, (byte)245);
        }

        public static Color Yellow()
        {
            return Yellow(100);
        }
        public static Color Yellow(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)255, (byte)255, (byte)0);
        }

        public static Color YellowGreen()
        {
            return YellowGreen(100);
        }
        public static Color YellowGreen(int a)
        {
            return Color.FromArgb((byte)((double)255 / 100 * a), (byte)154, (byte)205, (byte)50);
        }
    }
}
